<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
{% extends "learning_logs/base.html" %}
{% block content %}
  <a href="{% url 'learning_logs:topic' topic.id %}">{{topic}}</a>
  <p>Add a new entry:</p>
  <form action="{% url 'learning_logs:edit_entry' entry.id %}" method="post">
      {% csrf_token %}
      {{ form.as_p }}
      <button name="submit">save entry</button>
  </form>
{% endblock content %}
</body>
</html>